package com.x.erp.rpc;

import com.x.erp.model.MultilevelActivity;
import com.x.framework.rpc.BaseRpcService;

import java.util.List;

/**
 * 多级营销活动
 */
public interface MultilevelActivityRpcService extends BaseRpcService {

	/**
	 * 查询多级营销活动列表
	 * @param multilevelActivity
	 * @return
	 */
	List<MultilevelActivity> selectMultilevelActivityList(MultilevelActivity multilevelActivity);

	/**
	 * 查询多级营销活动数量
	 * @param multilevelActivity
	 * @return
	 */
	int selectMultilevelActivityNum(MultilevelActivity multilevelActivity);

	/**
	 * 新增多级营销活动信息
	 * @param multilevelActivity
	 * @return
	 */
	MultilevelActivity insertMultilevelActivity(MultilevelActivity multilevelActivity);

	/**
	 * 修改多级营销活动信息
	 * @param multilevelActivity
	 * @return
	 */
	int updateMultilevelActivity(MultilevelActivity multilevelActivity);

}
